package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 测灵魂-问卷表
 *
 * @author youshengfeng
 * @date 2022/2/19 下午 10:19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "questionnaire")
public class Questionnaire implements java.io.Serializable {
    //主键id
    private ObjectId id;
    //问卷名称
    private String name;
    //封面
    private String cover;
    //级别
    private Integer level = 1;
    //星别（例如：2颗星，3颗星，5颗星）
    private Integer star = 2;
    //创建时间
    private Long created;

}
